BlueCielo Publisher 2012 Administrator's Guide | BlueCielo ECM Solutions

You are here: About publishing jobs > Configuring a Publisher job > Configuring the rendering options > Configuring the AutoCAD rendering module options

Configuring the AutoCAD rendering module options

The AutoCAD rendering options specify which drawing layouts to render and to which format in the destination system.

Notes

Tip    For an example of configuring this module to render Navisworks models to NWD format, see NEW Rendering Navisworks models.

To configure the AutoCAD rendering options:

  1. In BlueCielo Application Manager, expand the name of the publishing job in the configuration tree that you want to configure.
  2. Select the Configuration branch in the configuration tree. The job's configuration pages appear in the right pane.
  3. Click the Rendition tab. The Rendition configuration page appears.
  4. Select Autodesk AutoCAD and click Options. The AutoCAD Render Options dialog box appears.
  5. Click options or type values using the descriptions in the following table.
AutoCAD rendering options
Option Description

Timeout

The number of seconds for the rendering module to wait for AutoCAD to complete rendering before the publishing job is stopped and the AutoCAD process terminated. A timeout can occur if there is a data error in the source document.

Run AutoCAD in visible mode

Shows the AutoCAD user interface during rendering for monitoring or troubleshooting. If cleared, AutoCAD runs invisibly in the background.

File extensions

A semicolon-delimited (;) list of source file extensions to be rendered by this module.

To modify the list:

  1. Click Change. The Input File Extensions dialog box appears.
  2. Select the file extensions that you want to be rendered.
  3. Click Close. The list is refreshed to show your selections.

Rendition type

Select a rendition type:

Default– Renders drawings with AutoCAD plotter configuration files using the options that are set in the Layout Range and Plotter groups.

AutoLISP command – Shows options with which you can configure an AutoLISP function that you have created for plotting. Select or type options using the descriptions in the table AutoLISP command options.

Export

Which layout to render. Type the layout tab number in Layout. To use a layout tab number that is saved in a document property, select the property name from the From property list. If this option is not configured correctly, the active layout will be used. Available only when Rendition type is set to Default.

Use all values from layout

If selected, the plotter configuration options are retrieved from the selected layout. If cleared, the other options in this group are available and can be configured.

Plot configuration

To render drawings with a plotter configuration:

  1. Select the desired output format from Output file format. The plotter configuration files that output to the selected format appear in the list.
  2. Select a plotter configuration file from the list to use for rendering.
  3. Click Plot Options. The Plot Options dialog box appears.
  4. Click options or type values using the descriptions in the following table.

Available only when Rendition type is set to Default.

Note    For successful rendering, the selected plotter configuration file must be fully configured and operational before it is selected for use with the Publisher.

Output file format

Select the desired output format.
Plot options
Option Description

Media size from global settings

If selected, the media name and orientation values are used that are derived as described in Configuring the rendering options.

Default media

Click Select media to show the Media Names dialog box and then select a media name from AutoCAD to be used as the default.

Plot style Select an option from the list to specify where the plot style to be used for rendering exists.
Selected Click Select plot style to show the Plot Styles dialog box and then select a plot style from AutoCAD to be used as the default.
Skip incompatible drawings

If selected, generates an error if the selected plot style cannot be applied. Otherwise, if an incompatible value is used then the plot style is taken from the layout. If the plot style from the layout is not present on the Publisher computer, then no plot style is used.

Use values from layout

If selected, rendering options are derived from the layout to be rendered. Otherwise, the drawings are rendered without a plot style.

Plot area

Select an option from the list to specify the area to render. The available options correspond to those saved in the drawing.

Center plot

Centers the output within the selected media.

Scale

Select a scale at which to render the output. Only available if Fit to page is cleared.

Fit to page

Scales the selected plot area to fit the selected media.

Orientation

Select an option from the list to specify the orientation of the selected plot area within the selected media. The global orientation of the media is configured as described in Configuring the rendering options.

Units

Unit of measurement to scale the drawing to the media.

Use line weights

Renders line weights in the output. Select Scale line weights to adjust the line weights relative to the value selected for the Scale option.
AutoLISP command options
Option Description

Name

Type the name of an AutoLISP function to run. The function must be declared with two parameters. The first parameter will be set to the output file name during rendering. The second parameter can be used to pass the value of the document property that is selected for the Property name option below to the function. The function can then implement logic that controls the output, for example, the sheet size.

Note    The function cannot invoke the EXPORT command.

The function should run an AutoCAD command with at least the input responses necessary to produce the desired output file. Providing additional input responses is optional. The EXPORT command may not be used.

Tip    The easiest way to determine the necessary input responses is to run the command manually and to record the responses that you type. Then transfer those responses to the function definition.

Following is an example of such an AutoLISP function definition that implements the second parameter to retrieve the page size from the property specified by the Property name option. Depending on the value, a different corresponding printer page definition is used. The function then plots the drawing differently if the current tab shows model space or a paper space layout:

(defun PDFPlot (outfile prop)
  (setq pc3 "DWG To PDF.pc3")
  ;Set the paper size
  (setq psize
    (cond
      ((= prop "A4") "ISO expand A4 (210.00 x 297.00 MM)")
      ((= prop "A3") "ISO expand A3 (297.00 x 420.00 MM)")
      ((= prop "A2") "ISO expand A2 (420.00 x 594.00 MM)")
      ((= prop "A1") "ISO expand A1 (594.00 x 841.00 MM)")
      ((= prop "A0") "ISO expand A0 (841.00 x 1189.00 MM)")
      (T "ISO expand A3 (297.00 x 420.00 MM)")
    )
  )
  (setq orientation "L")
  ;Run the plot command
  (if (= (getvar "ctab") "Model")
     (command "-PLOT" "Y" "Model" pc3  psize "M" orientation "N"
       "E" "FIT" "C" "Y" "Monochrome.ctb" "Y" "A" outfile "N" "Y")
     (command "-PLOT" "Y" (getvar "ctab") pc3  psize "M" orientation
       "N" "Layout" "1:1" "0.00,0.00" "Y" "Monochrome.ctb" "Y" "N"
       "N" "N" outfile "N" "Y")
  )
)

Output file extension

Type the extension of the output file to be created. It should be the extension that is normally generated by the plotter that is specified in the plotter configuration file that is used by the function. By default, the name the output file will be the name of the drawing being plotted.

Property name

Click Select property to show the Select Property dialog box and then select a source system property to pass as the second parameter to the AutoLISP function at rendering time.

  1. Click OK to save your rendering options.
  2. Click to save the configuration changes.

Related concepts

Understanding the AutoCAD rendering module

Related information

NEW Rendering Navisworks models


Copyright © 2000-2014 BlueCielo ECM Solutions

www.bluecieloecm.com